home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10226 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: cph-2.news.DK.net!dkuug!dknet!usenet
  2. From: Brian Elgaard <elgaard@dk-online.dk>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: MFC4.0/Win95 -will my.exe run on 3.1/NT ??
  5. Date: 6 Mar 96 16:18:09 GMT
  6. Organization: Customer at DKnet
  7. Message-ID: <313dbac1.0@193.89.47.9>
  8. NNTP-Posting-Host: h9.dk-online.dk
  9.  
  10. Pete Olpe <olpe@ep.com> writes:
  11. > I have a C++ program that compiles and runs under Windows 95 (using MFC 
  12. > 4.0).  Should the same .exe (from my source code) work on a machine running 
  13. > Windows 3.1 or Windows NT?
  14. > I am new to the PC and have only used Windows 95;  I tried the .exe on 
  15. > the only other PC I could find:  a portable running Windows 3.1, and the 
  16. > program did not execute at all.
  17. >      -Pete-
  18. >      olpe@ep.com
  19.  
  20.  
  21. It depends!
  22.  
  23. Although Microsoft claims that win32 (which is used by MFC) is a single API,
  24. there is actually (at least) 3 APIs. The full win32 will run on NT, a subset
  25. of this will run on Windows 95, and a subset of this (called win32s) will run
  26. on Windows 3.11 (but only if win32s is installed on the machine).
  27.  
  28.